package com.bupt.kgplatform.service;

import com.bupt.kgplatform.entity.KgDatabase;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhuyunfei
 * @since 2023-05-16
 */
public interface KgDatabaseService extends IService<KgDatabase> {
    void newDB(String dbname, String database, String url, String port, String username, String password, String reviser);

    boolean deleteDB(String dbnumber);

    void changeSource(String dbnumber);

    List getdbs(String dbnumber);

    boolean addVLSchema(String entity, String db_number,String graphname) throws InterruptedException;

    boolean addELSchema(String relation, String db_number, String graphname) throws InterruptedException;
}
